package org.jeecg.modules.basic.warehouse.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import org.jeecg.modules.basic.warehouse.entity.vo.BasicWarehouseVO;
import org.jeecg.modules.basic.warehouse.entity.WmsBasicWarehouse;
import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.modules.basic.warehouse.entity.vo.WmsBasicWarehousePageVO;
import org.jeecg.modules.basic.warehouse.entity.vo.WmsBasicWarehouseQueryVO;

import java.util.List;

/**
 * @Description: 仓库
 * @Author: jeecg-boot
 * @Date:   2023-08-09
 * @Version: V1.0
 */
public interface IWmsBasicWarehouseService extends IService<WmsBasicWarehouse> {
    /**
     * 仓库-仓库分类树形结构"
     *
     * @author hansen
     * @since 2023/8/11 10:25
     * @return java.util.List<org.jeecg.modules.basic.warehouse.entity.vo.BasicWarehouseVO>
     */
    List<BasicWarehouseVO> listTree();

    void updateByCheck(WmsBasicWarehouse wmsBasicWarehouse);

    /**
     * 仓库-分页列表查询-2
     * @param page
     * @param queryVO
     * @return
     */
    IPage<WmsBasicWarehousePageVO> getPageList(IPage<WmsBasicWarehouse> page, WmsBasicWarehouseQueryVO queryVO);
}
